WPTravelEngine\Core\Models\Post\Booking D

Total Complexity 152
Dependencies 8
Dependents 25
Total lines 1,024
Lines of code 488
Logical lines of code 271
Comment lines 375
Methods 66
Properties 3

Methods 66

Method Rating Maintainability Complexity Lines of code
save_post_booking()
C
34 27 86
maybe_update_inventory()
A
48 11 30
get_total_paid_amount()
S
58 7 15
has_due_payment()
S
58 6 16
get_trip_package_name()
S
62 6 11
get_cart_info()
S
61 5 12
get_emergency_contacts()
S
60 4 14
get_order_trip()
S
61 4 12
get_billing_info()
S
62 4 11
get_total_due_amount()
S
66 4 8
get_due_payment_link()
S
55 2 22
from_payment_key()
S
64 3 10
from_payment()
S
64 3 10
get_travelers()
S
63 3 10
get_payments()
S
62 2 12
get_booking_status()
S
75 2 4
get_paid_amount()
S
73 2 4
trashing_booking()
S
64 2 10
untrashing_booking()
S
65 2 9
save_travellers_information()
S
67 2 8
add_payment()
S
65 2 9
get_due_amount()
S
73 2 4
get_order_items()
S
75 2 4
update_paid_amount()
S
70 2 6
update_due_amount()
S
69 2 6
get_trip_id()
S
74 1 4
set_emergency_contact_details()
S
80 1 3
get_last_payment()
S
76 1 4
get_trip_pax_cost()
S
75 1 4
set_notes()
S
76 1 4
set_additional_details()
S
76 1 4
set_cart_pricing()
S
76 1 4
get_trip_pax()
S
75 1 4
set_traveller_details()
S
80 1 3
set_total_paid_amount()
S
80 1 3
get_admin_note()
S
79 1 3
get_trip_datetime()
S
74 1 4
get_partial_cost()
S
75 1 4
get_trip_cost()
S
75 1 4
get_customer_note()
S
79 1 3
set_total_due_amount()
S
79 1 3
get_trip_title()
S
75 1 4
get_currency()
S
75 1 4
update_status()
S
73 1 5
get_billing_lname()
S
80 1 3
get_total()
S
75 1 4
get_cart_partial()
S
75 1 4
get_discounts()
S
75 1 4
get_tax_amount()
S
75 1 4
get_payment_detail()
S
80 1 3
get_payment_status()
S
80 1 3
get_payment_gateway()
S
80 1 3
get_payment_method()
S
80 1 3
get_billing_fname()
S
80 1 3
get_billing_email()
S
80 1 3
set_status()
S
76 1 4
get_billing_address()
S
80 1 3
get_billing_city()
S
80 1 3
get_billing_country()
S
80 1 3
get_additional_fields()
S
80 1 3
get_trip_has_time()
S
75 1 4
get_trip_extras()
S
75 1 4
set_billing_info()
S
80 1 3
set_order_items()
S
80 1 3
get_subtotal()
S
75 1 4
set_cart_info()
S
79 1 3